package trism.game.controller {
	import trism.game.view.GameView;
	import trism.game.model.GameModel;
	import com.samoiloff.framework.controller.AbstractController;
	import flash.events.EventDispatcher;

	/**
	 * @author Samoiloff  http://samoiloff.com/
	 */
	public class GameBaseController extends AbstractController {
		
		protected var _model : GameModel;
		protected var _view : GameView;
		
		
		public function GameBaseController(model : GameModel) {
			super(model);

			_model = model;
			_view = _model.view as GameView;
		}

		override public function destroy() : void {
			_model = null;
			_view = null;
			
			super.destroy();
		}

	}
}
